export async function validInTryCatch1() {
  try {
    return await Promise.resolve('try');
  } catch (e) {
    return await Promise.resolve('catch');
  }
}

return;
function test() {
  return;
}

function test() {
  return 1;
}

async function test() {
  return;
}

async function test() {
  return 1;
}

const test = () => 1;
const test = async () => 1;

async function test() {
  return Promise.resolve(1);
}

async function test() {
  try {
    const one = await Promise.resolve(1);
    return one;
  } catch (e) {
    const two = await Promise.resolve(2);
    return two;
  } finally {
    console.log('cleanup');
  }
}